home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.20030409-20031118
/
000350_fdc@columbia.edu_Sun Oct 26 16:57:36 2003.msg
< prev
next >
Wrap
Internet Message Format
|
2003-11-18
|
2KB
Path: newsmaster.cc.columbia.edu!not-for-mail
From: Frank da Cruz <fdc@columbia.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Problems with get /recursive
Followup-To: comp.protocols.kermit.misc
Date: 26 Oct 2003 21:53:51 GMT
Organization: Columbia University
Lines: 45
Message-ID: <slrnbpogje.ct6.fdc@sesame.cc.columbia.edu>
References: <57f2d810.0310251901.3deaebbd@posting.google.com> <Pine.HPX.4.44.0310252035270.3239-100000@fog.ccsf.cc.ca.us> <slrnbpnmlo.b28.lars@news.oddbit.com>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1067205231 29709 128.59.59.56 (26 Oct 2003 21:53:51 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 26 Oct 2003 21:53:51 GMT
User-Agent: slrn/0.9.7.4 (SunOS)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14603
In article <slrnbpnmlo.b28.lars@news.oddbit.com>, Lars Kellogg-Stedman wrote:
: That's interesting, because the 'send' command behaves differently. For
: example, if I connect via 'kermit -C "ssh remotehost"', and then on the
: remote system type:
:
: kermit -C 'send /recursive directory'
:
: I get the whole thing.
:
: On the other hand, neither:
:
: kermit -L -s directory
:
: Nor:
:
: kermit -L -s directory/*
:
: Actually work. The second version (directory/*) will send the contents of
: directory, but without recursing into subdirectories. Of course, 'kermit
: -h' says:
:
: -L Recursive directory descent for files in -s option
:
: I suspect I may just be misunderstanding what that means, since one can
: work around this by running:
:
: kermit -L -s `find directory`
:
: But this seems like it could easily bog down for a large directory
: hierarchy.
:
As it says in:
http://www.columbia.edu/kermit/ckermit70.html#x4.11.1
"To descend a directory tree when sending files, use the -L command-line
option to indicate that the send operation is to be recursive, and include
a name or pattern to be sent. When giving a pattern, you should enclose
it in quotes to prevent the shell from expanding it." So:
kermit -L -s "directory/*"
should work.
- Frank